package com.example.midprojcampusspringboot.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_sys_user")
public class User {

  @TableId(type = IdType.AUTO)
  private long id;
  private String loginName;
  private String password;
  private String gender;
  private String birthday;
  private String phone;
  private String email;
  private String status; // 1表示正常；2表示异常，已被删除。
  private String salt;
  private String jwtSecret;

}
